package com.hi5.stexviewer.domain;

import java.math.BigDecimal;
import java.util.Date;

/**
 * Represents a rate of a stock at a given time.
 *
 * @author mate
 *
 */
public class Rate extends AbstactEntity<Rate> {
    private Stock stock;
    private BigDecimal rate;
    private Date date;

    public Stock getStock() {
        return stock;
    }

    public void setStock(Stock stock) {
        this.stock = stock;
    }

    public BigDecimal getRate() {
        return rate;
    }

    public void setRate(BigDecimal rate) {
        this.rate = rate;
    }

    public Date getDate() {
        return date;
    }

    public void setDate(Date date) {
        this.date = date;
    }
}
